package com.qiyue.init;

import javax.servlet.ServletContextEvent;

import javax.servlet.ServletContextListener;

/**
 *系统初始化类
 *add by liuxibo
 */

public class InitSystem implements ServletContextListener {

   public void contextDestroyed(ServletContextEvent arg0) {

      System.out.println("webexit ... ");  

   }

   public void contextInitialized(ServletContextEvent arg0) {

      System.out.println("webinit ... ");

      System.out.println("system power on ... ");
   }

}